import java.util.HashMap;
import java.util.Map;

public class day03 {
    public static void main(String[] args) {
        int [] arr = {22,19,12,38,56,76,43,12,34,54,23,54,22,12,53};

        Map<Integer,Integer> show = show(arr);

        int count = 0 ;
        for (Integer integer : show.keySet()) {


              System.out.println(integer+" "+show.get(integer));

        }
    }


    public static Map<Integer,Integer> show(int arr[]){

        Map<Integer,Integer>map=new HashMap<>();

        int min=arr[0];

        for (int aa : arr) {
            if (aa<min){
                min=aa;
            }
        }

        for (int i = 0; i < arr.length; i++) {
            if (arr[i]==min){
                map.put(i,arr[i]);
                break;
            }
        }

        return map;
    }
}
